'use strict';

const Service = require('egg').Service;

class MysqlhomeService extends Service {
  async list() {
    const { ctx } = this;
    const res = await ctx.app.mysql.query('select * from npm_auth');

    return res;
  }
}
module.exports = MysqlhomeService;
